﻿public class HomeWork {
	String[] colors = {"方片","红桃","黑桃","梅花","小王","大王"};
	String[] strs = {"3","4","5","6","7","8","9","10","J","Q","K","A","2","S","B",};
	String color;
	String test;
	int num;

	public void run(){
		for (int i = 0; i < 13; i++) {
			for (int j = 0; j < 4; j++) {
				color = colors[j];
				test = strs[i];
				num = i;
				System.out.println(color+" "+test);	
			}
		}
		color = colors[4];
		test = strs[13];
		num = 14;
		System.out.println(color+" "+test);

		color = colors[5];
		test = strs[14];
		num = 15;
		System.out.println(color+" "+test);
	}

	public static void main(String[] args) {
		HomeWork card = new HomeWork();
		card.run();
	}
}
